package com.lkd.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lkd.http.vo.UserWorkTopVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * @author brianxia
 * @version 1.0
 * @date 2022-12-08 14:38
 */
@Mapper
public interface TaskDao2 {


    List<UserWorkTopVO> userWorkTop10(
                                      IPage<UserWorkTopVO> page,
                                      @Param("start") LocalDate start,
                                      @Param("end") LocalDate end,
                                      @Param("isRepair") boolean isRepair,
                                      @Param("regionId") long regionId);
}
